﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SettingReplyPictrue.aspx.cs" Inherits="bianzhuo.SupportPlatform.WebUI.BzBusiness.SettingReplyPicDefault" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="css/style.css" rel="stylesheet" type="text/css" />
    <link href="css/msg_css.css" rel="stylesheet" type="text/css" />
    <script src="js/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="js/tdcolor.js" type="text/javascript"></script>
    <script type="text/javascript" src="ckeditor/ckeditor.js"></script>
    <script src="ckfinder/ckfinder.js" type="text/javascript"></script>
    <script src="js/AddCkeditor.js" type="text/javascript"></script>
</head>
<body>
    <form id="form12" runat="server">
        <div class="content">
            <ul class="breadcrumb">
                <li>
                    <div class="tem_img tem_l" title="关闭左侧菜单" id="closeleftframe" onclick="parent.document.getElementsByTagName('frameset')[1].cols = '0,*'; $('#closeleftframe').hide(); $('#openleftframe').show();"></div>
                    <div class="tem_img tem_r" title="展开左侧菜单" id="openleftframe" onclick="parent.document.getElementsByTagName('frameset')[1].cols = '240,*';$('#closeleftframe').show();$('#openleftframe').hide();"></div>
                </li>
                <li><a href="#">首页</a> <span class="divider">/</span></li>
                <li class="active">自定义图文回复</li>
            </ul>

            <div class="container">
                <div class="user_msg">
                    <div class="user_msg_l2">
                        <div class="cp_div">
                            <div class="cpcx_l ">
                                <a class="btn add_btn" href="SettingReplyPictrueCreate.Aspx?MicroId=<%=Request["MicroId"].ToString() %>"><i class="add_btnico"></i>添加图文回复</a>
                            </div>
                            <div class="cpcx_r">
                                关键字：<asp:TextBox ID="_TextKeyWord" class="btn" runat="server"></asp:TextBox>
                                <asp:Button ID="btnQuestCommand" Text="查询" class="btn_small" runat="server"
                                    OnClick="btnQuestCommand_Click" />
                            </div>
                        </div>
                        <div id="container_list">
                            <asp:Repeater ID="txtMessageRepeater1" runat="server">
                                <HeaderTemplate>
                                    <table class="user_list" border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                            <th width="8%" class="border_left">选择</th>
                                            <th width="17%">关键词</th>
                                            <th width="37%">回复</th>
                                            <th width="20%">添加时间</th>
                                            <th width="18%">操作</th>
                                        </tr>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <tr>
                                        <td height="40" align="center" class="border_left">
                                            <asp:CheckBox ID="OneSelect" ToolTip='<%#Eval("SettingReplyID") %>' class="checkitem" runat="server" /></td>
                                        <td height="40" align="center"><%#Eval("ReplyWordKey")%></td>
                                        <td height="40" align="left">
                                            <div class="user_lidim">
                                                <img src="<%#Eval("ReplyPictrue")%>" />
                                            </div>
                                            <div class="user_lidim"><%#TitleString(Eval("ReplyTitle"))%> <font><%# GetSelectCountStr(Eval("SettingReplyID")) %></font></div>
                                        </td>
                                        <td height="40" align="center">
                                            <p><font><%#string.Format("{0:yyyy-MM-dd}",Eval("AddTime")) %></font></p>
                                        </td>
                                        <td width="18%" height="40" align="center"><a href="SettingReplyPictrueModify.aspx?MicroId=<%=Request["MicroId"].ToString() %>&ReplyID=<%#Eval("SettingReplyID") %>" class="btn_small">编辑</a>
                                            <asp:Button ID="DeleteOneButton" OnCommand="DeleteOneButtonCommand" Text="删除" class="btn_small" CommandName='<%#Eval("SettingReplyID") %>' runat="server" OnClientClick="return confirm('确认要删除吗')" /></td>
                                    </tr>

                                </ItemTemplate>
                                <FooterTemplate>
                                    <tr>
                                        <td class="border_left" colspan="6">
                                            <p>
                                                全选&nbsp;<asp:CheckBox ID="SelectAll" AutoCallBack="true" OnCheckedChanged="OrderAllSelected" class="checkitem" runat="server" />
                                                <asp:Button ID="DeleteAllButton" OnCommand="DeleteAllButtonCommand" class="btn_small" runat="server" Text="批量删除" OnClientClick="return confirm('确认要删除吗')" />
                                            </p>
                                        </td>
                                    </tr>
                                    </table>
                                </FooterTemplate>
                            </asp:Repeater>
                        </div>
                    </div>
                    <div class="user_msg_r">
                        <div class="user_mrtop">自定义回复</div>
                        <div class="user_listdet">
                            <ul>
                                <li class="user_libg_02"><a href="SettingReplyAuto.aspx?MicroId=<%=Request["MicroId"].ToString() %>" class="user_list_a">关注默认回复</a></li>
                                <li class="user_libg_01"><a href="SettingReplyDefault.aspx?MicroId=<%=Request["MicroId"].ToString() %>" class="user_list_a">文本回复</a></li>
                                <li class="user_libg_03"><a href="SettingReplyPictrue.aspx?MicroId=<%=Request["MicroId"].ToString() %>" class="user_list_h">图文回复</a></li>
                                <li class="user_libg_04"><a href="SettingReplyAudio.aspx?MicroId=<%=Request["MicroId"].ToString() %>" class="user_list_a">语音回复</a></li>
                                <li class="user_libg_06"><a href="SettingReplyVideo.aspx?MicroId=<%=Request["MicroId"].ToString() %>" class="user_list_a">视频回复</a></li>
                                <li class="user_libg_05"><a href="SettingReplyLBS.aspx?MicroId=<%=Request["MicroId"].ToString() %>" class="user_list_a">LBS回复</a></li>
                            </ul>
                        </div>

                    </div>
                </div>
                <div class="pagination">
                    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" FirstPageText="首页"
                        LastPageText="尾页" NextPageText="下一页" OnPageChanged="AspNetPager1_PageChanged"
                        PrevPageText="上一页">
                    </webdiyer:AspNetPager>
                </div>
            </div>

        </div>

    </form>
</body>
</html>
